package com.peas.platform.module.icims.base.sys.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.base.sys.adapter.repository.InvokeRepository;
import com.peas.platform.module.icims.base.sys.adapter.repository.po.InvokePo;
import com.peas.platform.module.icims.base.sys.domain.InvokeDomain;
import com.peas.platform.module.icims.base.sys.dto.InvokeDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class InvokeDomainImpl extends BaseDomainImpl<InvokeDto, InvokePo> implements InvokeDomain {

    @Resource
    private InvokeRepository invokeRepository;

    @Override
    public BaseRepository<InvokePo> getMapper() {
        return invokeRepository;
    }

    @Override
    public Class<? extends BaseRepository<InvokePo>> getRepositoryClass() {
        return InvokeRepository.class;
    }

}
